package com.itheima.d02_extends_son_features;

//子类
public class Son extends Father{
    double  money;

    public Son() {
        //super();  默认调用父类的无参构造方法
        System.out.println("子类无参构造...");
    }

    public Son(double money) {
        //super(); 默认调用父类的无参构造方法
        this.money = money;
    }
}
